import React from 'react';
import routes from './router'
import { renderRoutes } from "react-router-config";
import { HashRouter, Switch } from 'react-router-dom';

function App() {
  return (
    <HashRouter>
      <Switch>
        {renderRoutes(routes)}
      </Switch>
    </HashRouter>
  );
}

export default App;
